package io.zhaocy.acmspringboot.mvc.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.Version;

import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author GeneZhao123
 * @since 2018-07-12
 */
@Data
@TableName("movie")
public class Movie implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.UUID)
    private String id;

    @TableField("title")
    private String title;

    @TableField("rating")
    private Integer rating;

    @TableField("yearOfRelease")
    private String yearOfRelease;


}
